module.exports = {
  pwa: {
    iconPaths: {
      favicon32: 'logo.ico',
      favicon16: 'logo.ico',
      appleTouchIcon: 'logo.ico',
      maskIcon: 'logo.ico',
      msTileImage: 'logo.ico'
    }
  },
  lintOnSave: false,
  devServer: {
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        // target: `http://82.156.126.70:8080`,
        target: `http://127.0.0.1:8080`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''
        },
      },
    },
    overlay: {
      warnings: false,
      errors: true,
    },
  },
  publicPath: "/",
};
